<?php
class Index_Data_Subcategorydata implements Index_Data_Mainable{
    
    private $core_controller_selectdata;
    
    public function __construct() {
        $this->core_controller_selectdata = new Core_Controller_Selectdata;
    }
    
    public function main(array $variables = null) {
        $variables['query'] = "SELECT subcategory_meta_values.subcategory_name, subcategory_meta_values.subcategory_meta_description, subcategory_content_values.subcategory_title FROM subcategory_meta_values, subcategory_content_values WHERE subcategory_meta_values.subcategory_name = subcategory_content_values.subcategory_name;";
        return $this->core_controller_selectdata->main($variables);
    }
}
